/**
 * 订单状态
 */
export const OrderStatus = {
    //待支付
    CREATE: 1,
    //待分配
    // DELIVERY: 2,
    //待服务
    RECEIVE: 2,
    //已完成
    DONE: 20,
    //已取消
    CANCEL: 10,
	//已预约
	RECEIVED: 50
}
/**
 * 合同状态
 */
export const PactStatus = {
    //未签订
    NONE: 0,
    //乙方已签
    PARTB: 1,
    //甲方已签
    PARTA: 2
}
/**
 * 配送状态
 */
export const DeliveryStatus = {
    //待确定时间
    NONE: 20,
    //待服务企业确认时间
    CONFIRM: 21,
    //确认送货时间
    CONFIRMED: 22
}
/**
 * 各按钮预定义
 */
export const OrderButtons = {
	apartRefund:{
		text: '部分退款',
		action: 'apartrefund',
		class: 'cancel',
	},
	Refund: {
		text: '退款',
		action: 'refund',
		class: 'cancel',
	},
    Cancel: {
        text: '取消订单',
        action: 'cancel',
        class: 'cancel',
        
    },
	CancelRes:{
		text:'取消预约',
		action:'cancel',
		class:'cancel'
	},
    Delete: {
        text: '删除',
        action: 'delete',
        class: 'cancel'
    },
    Receive: {
        text: '确认服务',
        action: 'receive',
        class: 'receive',
       
    },
	Pay : {
		text:'支付',
		action: 'pay',
		class: 'phone',
	},
    CallPhone: {
        text: '联系服务企业',
        action: 'phone',
        class: 'phone',
        icon: 'iconfont icon-dianhua'
    }
}
